Pixeldev\SquareWooSync\REST\SettingsController S

Total Complexity 40
Dependencies 10
Dependents 2
Total lines 417
Lines of code 272
Logical lines of code 151
Comment lines 63
Methods 12
Properties 2

Methods 12

Method Rating Maintainability Complexity Lines of code
get_cron()
A
41 12 51
update_settings()
S
51 6 27
get_settings()
S
53 5 22
handle_export_to_square()
S
48 4 33
register_routes()
S
43 1 68
update_inventory_for_all_products()
S
59 3 15
get_access_token()
S
61 3 11
set_access_token()
S
59 2 13
get_all_products()
S
60 1 13
export_to_square()
S
65 1 8
get_locations()
S
71 1 5
delete_access_token()
S
69 1 6